<template>
  <view class="loading">
    <view class="bg-white">
      <image src="@/static/common/loading.svg" mode="aspectFit" class="loading-icon"></image>
      <text>完美繁花正在为您筛选优质对象...</text>
    </view>
  </view>
</template>
  
  <style scoped lang="scss">
.loading {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  background-color: #f5f5f5;
  opacity: 0.99;
}
.bg-white {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.bg-white image {
  width: 80rpx;
  height: 80rpx;
  display: block;
  margin-top: -20px;
}

.bg-white text {
  margin-top: 20rpx;
  font-weight: bold;
  font-size: 32rpx;
  color: #333333;
}

.loading-icon {
  animation: rotate 2s linear infinite;
}
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
</style>